package cn.shiva.common.utils;

/**
 * @author shiva   2021/10/19 23:19
 */
public enum CodeEnum {

    /**
     * 返回状态
     */
    SUCCESS(200, "成功处理了请求"),
    UNSATISFIED(417, "未满足请求标头字段的要求"),
    ERROR(500, "服务器遇到错误，无法完成请求"),
    ;

    public int code;
    public String describe;

    CodeEnum(int code, String describe) {
        this.code = code;
        this.describe = describe;
    }
}
